FROM 192.168.10.79/chanpinzu/golang:1.10

ENV APP_HOME=/usr/local/gencode
RUN mkdir $APP_HOME
WORKDIR $APP_HOME

COPY gencode.zip .
RUN unzip gencode.zip && rm -rf gencode.zip && chmod 777 gencode
EXPOSE 8091

CMD ["./gencode"]
